<!doctype html>
<html>
<head>
  <meta charset="utf-8" />
  <title>formulas</title>
  <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="format-detection" content="telephone=no">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <style>
    html,body{margin:0;padding:0;background:#fff;}
    #wrap{
      width: 80%;
      margin-left: 10%;
    }
    #editor{
      width: 100%;
      height: 300px;
      margin-top: 40px;
    }
    .remind-a{
      font-size: 14px;
      color: #6f6f6f;
      margin-top: 60px;
    }
    .remind-a span{
      font-size: 16px;
      font-weight: 700;
      color: #333;
    }
    .remind-b{
      font-size: 14px;
      color: #6f6f6f;
      margin-top: 10px;
    }
  </style>

</head>
<body>
<div id="wrap">
  <div id="editor"></div>
  <div class="remind-a">点击左上角 <span>∑</span> 符号即可编辑公式</div>
  <div class="remind-b">编辑完成后 Ctrl+C 复制，之后在编辑器里 Ctrl+V 粘贴即可</div>
</div>
</body>

<script type="text/javascript" src="../../UEditor/ueditor.config.js"></script>
<script type="text/javascript" src="../../UEditor/ueditor.all.js"></script>
<script type="text/javascript" src="../../UEditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" charset="utf-8" src="../../UEditor/kityformula-plugin/addKityFormulaDialog.js"></script>
<script type="text/javascript" charset="utf-8" src="../../UEditor/kityformula-plugin/getKfContent.js"></script>
<script type="text/javascript" charset="utf-8" src="../../UEditor/kityformula-plugin/defaultFilterFix.js"></script>
<script id="editor" type="text/plain" name="gdesc" style="width:100%;height:350px;"></script>
<script type="text/javascript">
  //实例化编辑器
  var ue = UE.getEditor('editor', {toolbars: ["kityformula"]});
</script>
</html>
